<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@include file="../common/main.jsp"%>
<html>
<head>
    <title>新增</title>
    <!-- 依赖库 -->
    <script type="text/javascript" src="/va/lib/jquery.js"></script>
    <script type="text/javascript" src="/va/lib/jquery.form.js"></script>
    <!-- 核心库 -->
    <script type="text/javascript" src="/va/validator.js"></script>
    <!-- 验证器 -->
    <script type="text/javascript" src="/va/validation-js/person_register.js"></script>
</head>
<body>
<form valid="{use: 'person_register'}" action="${basePath}/addUser.json" method="post">
    <label for="username"> 用户名称：<input id="username" name="username" type="text"></label>
    <br/>
    <label for="password">登录密码：<input id="password" type="password" name="password"></label>
    <button type="submit" >提交</button>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <button type="submit" >重置</button>
</form>
</body>
</html>
